package com.zeny.edu.video.client;

import com.zeny.edu.common.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName UcenterClient
 * @Description TODO
 * @Author zeny
 * @Date 2020/3/12 0012 12:25
 */
@FeignClient("zong-ucservice")
public interface UcenterClient {

    @GetMapping("/ucenter/member/userInfo/{token}")
    public ResponseResult getUserInfo(@PathVariable("token") String tken);
}
